package com.das.mechanic_base.bean.alone;

public class AloneImageAndRecordBean {

    // 未上传时本地图片的地址
    private String path;

    // 已上传后的网络图片地址
    private String httpPath;

    // 上传后的图片id
    private long id;

    /**
     * 图片上传状态
     * 0 正在上传
     * 1 上传成功
     * 2 上传失败
     */
    private long uploadStatus;

    public boolean failStatus=false;//识别失败的图片

    public String getHttpPath() {
        return httpPath;
    }

    public void setHttpPath(String httpPath) {
        this.httpPath = httpPath;
    }

    public AloneImageAndRecordBean(String path, String httpPath, long id, long uploadStatus) {
        this.path = path;
        this.httpPath = httpPath;
        this.id = id;
        this.uploadStatus = uploadStatus;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getUploadStatus() {
        return uploadStatus;
    }

    public void setUploadStatus(long uploadStatus) {
        this.uploadStatus = uploadStatus;
    }

    @Override
    public String toString() {
        return "{" +
                "\"httpPath\":\'" + httpPath + "\'" +
                ", \"uploadStatus\":" + uploadStatus +
                '}';
    }
}
